package com.example.avue.service.impl;

import com.example.avue.entity.VisualCategory;
import com.example.avue.mapper.VisualCategoryMapper;
import com.example.avue.service.VisualCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class VisualCategoryServiceImpl implements VisualCategoryService {
    @Autowired
    VisualCategoryMapper visualCategoryMapper;
    @Override
    public List<VisualCategory> getList() {
        return visualCategoryMapper.getCategoryList();
    }
}
